package com.pushtime.service.dto.jhipster;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Field {
    private String fieldName;
    private String javadoc;
    private String fieldType;
    private List<String> fieldValidateRules;
    private Integer fieldValidateRulesMaxlength;
    private String fieldTypeBlobContent;

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getJavadoc() {
        return javadoc;
    }

    public void setJavadoc(String javadoc) {
        this.javadoc = javadoc;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public List<String> getFieldValidateRules() {
        return fieldValidateRules;
    }

    public void setFieldValidateRules(List<String> fieldValidateRules) {
        this.fieldValidateRules = fieldValidateRules;
    }

    public Integer getFieldValidateRulesMaxlength() {
        return fieldValidateRulesMaxlength;
    }

    public void setFieldValidateRulesMaxlength(Integer fieldValidateRulesMaxlength) {
        this.fieldValidateRulesMaxlength = fieldValidateRulesMaxlength;
    }

    public String getFieldTypeBlobContent() {
        return fieldTypeBlobContent;
    }

    public void setFieldTypeBlobContent(String fieldTypeBlobContent) {
        this.fieldTypeBlobContent = fieldTypeBlobContent;
    }

    @Override
    public String toString() {
        return "Field{" +
                "fieldName='" + fieldName + '\'' +
                ", javadoc='" + javadoc + '\'' +
                ", fieldType='" + fieldType + '\'' +
                ", fieldValidateRules=" + fieldValidateRules +
                ", fieldValidateRulesMaxlength=" + fieldValidateRulesMaxlength +
                ", fieldTypeBlobContent='" + fieldTypeBlobContent + '\'' +
                '}';
    }
}
